package com.stgl.dao;

import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


@Repository
public interface WechartDao {

    List<Map<String,Object>> getuserBindStu(Map<String, Object> gmap);

    List<Map<String,Object>> getAllSchool();

    List<Map<String,Object>> findStudentExist(Map<String, Object> gmap);

    int registStudent(Map<String, Object> gmap);


    List<Map<String,Object>> getWhkCategory(Map<String, Object> gmap);
    List<Map<String,Object>> getStfdCategory(Map<String, Object> gmap);

    List<Map<String,Object>> getWhkTeaById(String wid);
    List<Map<String,Object>> getSthdTeaById(String sid);


    List<Map<String,Object>> getWhkDetails(String wid);
    List<Map<String,Object>> getSfDetails(String wid);



    List<Map<String,Object>> getSthdDetails(String sid);
    List<Map<String,Object>> getSthdSfDetails(String sid);

    List<Map<String,Object>> FindBmqkXe(String wid);


    int InsertBmqk(Map<String, Object> gmap);
    int InsertBmqkZl(Map<String, Object> gmap);
    int InsertOrderlist(Map<String, Object> gmap);
    int InsertOrderfee(Map<String, Object> gmap);
    int InsertOrdertea(Map<String, Object> gmap);

    int EditStudent(Map<String, Object> gmap);
    int EditUaccount(Map<String, Object> gmap);


    List<Map<String,Object>> orderList(Map<String, Object> gmap);
    int orderCount(Map<String, Object> gmap);
    List<Map<String,Object>> listorderfee(String oid);
    List<Map<String,Object>> listordertea(String oid);

    int delOrder(Map<String, Object> gmap);
    int cancelOrder(Map<String, Object> gmap);


    List<Map<String,Object>> orderWhk_list(String oid);

    int paysuccess(Map<String, Object> gmap);


    List<Map<String,Object>> getOrderInfoByid(Map<String, Object> gmap);


    int updatebmqktocancel(Map<String, Object> gmap);


    List<Map<String,Object>> findStuBmqk(Map<String, Object> gmap);


    List<Map<String,Object>> findStuBmdFdb(Map<String, Object> gmap);

}

